package com.ruoyi.wms.mapper;

import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.wms.domain.entity.stock.PurchaseRequests;
import com.ruoyi.wms.domain.vo.PurchaseRequestsVo;
import com.ruoyi.wms.domain.vo.PurchaseStatisics;

import java.util.Map;

/**
 * 采购申请Mapper接口
 *
 * @author zcc
 * @date 2024-11-20
 */
public interface PurchaseRequestsMapper extends BaseMapperPlus<PurchaseRequests, PurchaseRequestsVo> {


    /**
     * 根据条件查询采购申请统计信息
     * @param map
     * @return
     */
    PurchaseStatisics sumByMap(Map map);
}
